package com.lipp.luosu.constant;

import java.util.regex.Pattern;

/**
 * @ClassNameCompareUtil
 * @description: TODO 类描述
 * @Author lipp
 * @Date 2024/1/24 8:53
 * @Version 1.0
 */
public class CompareUtil {

    private static final Pattern testOne = Pattern.compile("^[0-9a-zA-Z]+$");

    public static boolean isTestOne(String str) {
        return testOne.matcher(str).matches();
    }


    public static boolean isTestTwo(String str) {
        return Pattern.compile("^[0-9a-zA-Z]+$").matcher(str).matches();
    }


}
 class AA{

}